package com.sanyang.lawyer.service.finance;

import com.sanyang.lawyer.entity.Finance_income;
import com.sanyang.lawyer.mapper.finance.Finance_incomeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @program: lawyer
 * @description: 个人收入
 * @author: lql
 * @create: 2019-10-12 08:52
 **/

@Service
public class Finance_incomeService {
    @Autowired
    private Finance_incomeMapper finance_incomeMapper;

    public List<Finance_income> lists(Map<String, String> map) {
        return finance_incomeMapper.lists(map);
    }
        public List<Map<String, Object>> selectByEmp (Map map){
            return finance_incomeMapper.selectByEmp(map);
        }
        public List<Map<String, Object>> selecthistoricalStatistics (Map map){
            return finance_incomeMapper.selecthistoricalStatistics(map);
        }
        public List<Finance_income> list(int time){
            return finance_incomeMapper.list(time);
        }

}
